package com.flyan.danmuhunter.bilibili.data;

import lombok.Data;
import lombok.Getter;
import lombok.ToString;

import java.util.List;

/**
 * 榜单，包含各种榜单，通过 {@link rankType} 进行区分
 * {@link rankType} 取值范围有：
 *  - "gold-rank" 礼物榜单
 *
 * @author flyan
 * @version 1.0
 * @date 2022/6/8
 */
@Data
public class Rank {

    /**
     * 榜单类型
     */
    private String rankType;

    /**
     * 榜单列表
     */
    private List<GoldRankItem> list;

    @Data
    public static class GoldRankItem {

        private Long uid;
        private String uname;
        private String face;

        private Integer rank;
        private Long score;

        private Integer guardLevel;

    }

}
